Automattic\WooCommerce\Blocks\Templates\ArchiveProductTemplatesCompatibility S

Total Complexity 46
Dependencies 0
Dependents 1
Total lines 413
Lines of code 241
Logical lines of code 64
Comment lines 126
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
inject_hooks()
A
41 10 66
set_hook_data()
S
38 1 99
restore_default_hooks()
S
61 5 12
is_products_block_with_inherit_query()
S
67 5 7
inner_blocks_walker()
S
63 4 11
update_render_block_data()
S
66 3 10
is_null_post_template()
S
73 3 4
is_product_collection_block_with_inherit_query()
S
71 3 5
is_archive_template()
S
79 2 3
is_block_within_namespace()
S
74 2 4
is_block_inherited()
S
71 2 5
is_post_or_product_template()
S
79 2 3
inject_attribute()
S
69 2 6
is_post_template()
S
80 1 3
is_product_template()
S
80 1 3